package com.yuyou.fn.educational.service;

import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.CourseOrder;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.vo.StudentRegInfoVo;

import java.math.BigDecimal;
import java.util.List;

/**
 *
 * CourseOrder 表数据服务层接口
 *
 */
public interface ICourseOrderService extends ISuperService<CourseOrder,Long> {

    Page<CourseOrder> findCourseOrderList(Long studentId, int pageNo, int pageSize);

    CourseOrder createOrder(StudentRegInfoVo studentRegInfoVo ) ;

    void payCourseOrder(Long courseOrderId, BigDecimal payAmount, Integer payWay , String operator );

    List<CourseOrder> findBaseCourseOrderForList(Long studentId);

    List<CourseOrder> findCourseOrderByOutId(Long outCourseOrderId);
}